try:
    age=int(input("age:"))
    print(age)
except ValueError:
    print("Invalid value")